import type { CategoryTopItem } from '@/types/category'
import { myGet } from '@/utils/request'

/**
 * 分类列表
 */
export const getCategoryTopAPI = () => {
  return myGet<CategoryTopItem[]>('/category/top')
}
